POV-Ray : Newsgroups : povray.binaries.images : Media problem... : Re: Media problem... Server Time
19 Nov 2024 22:48:22 EST (-0500)
  Re: Media problem...  
From: Trevor Quayle
Date: 28 Oct 2001 10:10:36
Message: <3bdc1fec@news.povray.org>
try adding
fade_power 2 to the light source as well, this will really increase the
falloff rate
change Clear to rgbt 1  (Clear = rgbf 1 which comes out different fo some
reason)
Also, why are you using emitting media rather than scattering?

-tgq


"25ct" <25c### [at] lineonenet> wrote in message news:3bdc1cd8@news.povray.org...
> Hi,
>
>      Using Steve's and others suggestion of a clear cone and media, I'm
> somewhat closer to what I want to achieve, but if you look at the image
> where the light crosses the illuminated window, you can see clearly a kind
> of dark/black hue or line. It doesn't show so much in the darker areas, so
> how do I remove it?  Also, I'm getting it wrong where it's supposed to
start
> fading, can anyone help me with this? I've tried fade_distance in the
light
> source but can't see any difference between a low setting and a high
> setting, ie, I've tried .8 and 3.8.
>
>      Thanks for any help.
>
>       ~Steve~
>
>      Here's the code...
>
>    light_source { <-10.125, 5.83, 13> colour Yellow * 1.5
>
>   area_light <4, 0, 0>, <0, 0, 4>, 4, 4
>   adaptive 1.5
>   jitter
>
>    fade_distance 3.8
>
>     }
>
>
> #declare Media =
> media {
>
> emission .028
>       intervals 5
>       samples 1, 10
>       confidence .9999
>             variance 1/1000
>       density{
>               gradient y
>               ramp_wave
>               turbulence 18 //0.3
>
>               colour_map{
>                         [0.0 colour <.6, .6, 0.3>]
>
>                        }
>               scale <1,1,1>
>               translate <-10.6, 5.2, 14>
>              }
>       }
>
>
> cone{<0,-7.5,0>20,
>      <0,1.3,0>.05
>
>      pigment{rgb Clear}
>      interior{media{Media}}
>
>      hollow
>
>      translate <-10.6, 5.2, 14>
>     }
>
>
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.